class demoItem {
    constructor(item){
        this.cId = item.cId;
        this.belongto = item.belongto;
        this.DemoName = item.DemoName;
    }
}

export default class DemoInfo {
    constructor(){
        this.demoinfo = [];
    }
    //增加列表信息
    adddemoItem(item) {
        let newItem = new demoItem(item);
        this.demoinfo.push(newItem);
        console.log(this);
        return this;
        
    }
}